package com.vacomall.erp.service;

import com.vacomall.erp.model.CertificateNum;
import com.vacomall.erp.model.Images;

import java.io.IOException;
import java.util.List;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created by root1 on 16/8/25.
 */
public interface IQuarantineCertificateService {
    public int  add(CertificateNum certificateNum);
    public int edit(CertificateNum certificateNum);
    public int addThumbnailImage(String inputFoler ,String outputFolder) throws IOException;
    public Images selectByImage(String number);
    public List<CertificateNum> showCertificate(CertificateNum certificateNum,int pageCurrent ,int pageSize );
    public CertificateNum editPage(Integer id);
    
    /**
     * 检疫证书删除
     */
    public int delete(Integer id);
}
